from gameset.phoenicia.base import *

from ..agriculture import Wheat
from .fruitpress import Juice
from .water import Water


class Beer(Beverage):
    singular  =_ ('Beer')
    plural    =_ ('Beer')
    happiness =_ (1.0)
    consumed  =_ (0.5)


class Cider(Beverage):
    singular  =_ ('Cider')
    plural    =_ ('Cider')
    happiness =_ (1.0)
    consumed  =_ (0.5)


class Brewery(Workshop):
    name     =_ ('Brewery')
    color    =_ (White + Brown)
    cost     =_ (250)
    size     =_ (3)
    staff    =_ (12)
    produces =_ (Production(input = Juice(1),              output = Cider(1), duration = 0.5),
                 Production(input = (Wheat(3), Water(10)), output = Beer(10), duration = 5.0))
